package com.yixin.hospital.entity.dto.req.drug;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("编辑药品图片请求体")
@Data
public class DrugPicEditReqDTO {

    @ApiModelProperty("药品id")
    @NotNull(message = "药品id不能为空")
    private Long id;

    @ApiModelProperty("图片base64数据")
    @NotNull(message = "药品图片不能为空")
    private String pic;
}
